/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mapdigit.practices.compositeui.smartparts;

import com.mapdigit.practices.compositeui.eventbroker.EventArgs;

/**
 *
 * @author jshen
 */
public class WorkspaceEventArgs extends EventArgs{
    private Object smartPart;

		/// <summary>
		/// Initializes a new instance of the <see cref="WorkspaceEventArgs"/> using
		/// the specified SmartPart.
		/// </summary>
		/// <param name="smartPart"></param>
		public WorkspaceEventArgs(Object smartPart)
		{
			this.smartPart = smartPart;
		}

		/// <summary>
		/// Gets the SmartPart associated with this event.
		/// </summary>
		public Object getSmartPart()
		{
			return smartPart;
		}
}
